package com.example.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.zhxy.model.LoginInfo;
import com.example.zhxy.model.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author fzykd
* @description 针对表【tb_teacher】的数据库操作Service
* @createDate 2023-03-13 21:26:35
*/
public interface TeacherService extends IService<Teacher> {

    Teacher login(LoginInfo loginInfo);

    Teacher getTeacherById(Long userId);

    IPage<Teacher> getTeacherPage(Page<Teacher> page, String name, String clazzName);
}
